package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author dc
 * @Classname Content
 * @Date 2020/3/24 11:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tb_content")
public class Content extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long categoryId;
    /**标题*/
    private String title;
    /**子标题*/
    private String subTitle;
    /**标题描述*/
    private String titleDesc;
    /**跳转路径*/
    private String url;
    /**图片1(图片地址)*/
    private String pic;
    /**图片2*/
    private String pic2;
    /**内容*/
    private String content;
}
